﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.App.Instructure
{
    public interface IBaseRepository <T> where T : class
    {
        int Add(T t);
        int Update(T t);
        T GetValue(int id);
        IQueryable<T> GetAll();
        int Delete(T t);
        int UpdateAll(List<T> t);
        

    }
}
